Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near ")"
LINE 1: select (select (()) as count limit 1000000) as c3676, (sele...
^ in /web/geo/www/includes/database.pgsql.inc on line 139
Warning: ERROR: syntax error at or near ")"
LINE 1: select (select (()) as count limit 1000000) as c3676, (sele...
^
query: select (select (()) as count limit 1000000) as c3676, (select count(*) from (select field_oo_nid from content_type_office left join node on node.nid=content_type_office.field_oo_nid where field_ba_nid in ( select nid from content_type_building where nid in (select 227578 as nid))) as f limit 1000000) as c3682, (select (()) as count limit 1000000) as c3684, (select count(*) from node
left join content_type_organization on content_type_organization.nid=node.nid
where idx_3687 @@ to_tsquery('ru','зорге:* & 46:*')
and node.type='organization' and content_type_organization.cities && array(select nid from term_node where tid=3479) and cities && array(select nid from term_node where tid=3479) limit 1000000) as c3687, (select (()) as count limit 1000000) as c3688, (select (()) as coun in /web/geo/www/includes/database.pgsql.inc on line 160 Новокузнецк. Найдено по запросу "Р. зорге 46"